﻿using Super.Admin.Models.Permission;
using Super.Admin.ViewModels.Base;

namespace Super.Admin.Models
{
    public class BreadcrumbModel:ViewModelBase
    {
        /// <summary>
        /// 菜单
        /// </summary>
        public PermissionBaseModel Menu { get; set; } 
        /// <summary>
        /// 是否是最后一级
        /// </summary>
        public bool IsLast { get; set; }    
        private bool _isShowBreadcrumbFirstMenu = false;
        /// <summary>
        /// 是否显示面包屑第一个菜单
        /// </summary>
        public bool IsShowBreadcrumbFirstMenu
        {
            get { return _isShowBreadcrumbFirstMenu; }
            set { SetProperty<bool>(ref _isShowBreadcrumbFirstMenu, value); }
        }
        public BreadcrumbModel()
        {

        }
    }
}
